ARM dependent features

Contents|Index|Previous|Next
ARM dependent features

The following documentation discusses the features pertinent to the ARM processor regarding the GNU assembler.

- ARM options
- ARM syntax
- ARM special characters
- ARM floating point
- ARM machine directives
- ARM opcodes

ARM options
`as` has no additional command-line options for the ARM processor family.
ARM syntax
`as` has no additional command-line options for the ARM processor family.
ARM special characters
`;` is the line comment character.

ARM floating point

The ARM family uses IEEE floating-point numbers.
ARM machine directives
The following assembler directives are for the ARM processor.

`.code [ 16 | 32 ]`

This directive selects the instruction set being generated.
The value 16 selects Thumb, with the value 32 selecting ARM.

`.thumb`

This performs the same action as `.code 16` .

`.arm`

This performs the same action as `.code 32` .

ARM opcodes
`as` implements all the standard ARM opcodes.
For information on the ARM or Thumb instruction sets, see ARM Software Development Toolkit Reference Manual, Advanced RISC Machines, Ltd.

Top|Contents|Index|Previous|Next